body {
    background: linear-gradient(to bottom right, #e0c3fc, #8ec5fc); /* 新的紫色渐变背景 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 更现代的字体 */
    margin: 0;
    padding: 0;
    color: #4f4f4f;
}

.progress-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
    background: white;
    border-radius: 20px; /* 圆角更大，显得更优雅 */
}

@media (min-width: 768px) {
    .progress-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .progress-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section {
    background: #E8E4F2; /* 柔和的紫色背景 */
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    height: 300px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* 更高级的阴影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #23153C; /* 深紫色标题 */
    font-weight: bold;
}

.section h4 {
    margin-bottom: 10px;
    color: #23153C;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    background-color: #ffffff; /* 紫色背景 */
    border-radius: 20px;
    overflow: hidden;
    height: 30px;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1); /* 内部阴影 */
}

.progress-bar-fill {
    height: 100%;
    background: white; /* 更高级的紫色渐变 */
    text-align: center;
    color: #23153C;
    margin-left: 10px;
    line-height: 30px;
    border-radius: 20px 0 0 20px;
    transition: width 0.5s ease-in-out;
}

/* List Styles */
.section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.section ul li {
    background-color: #f8e6ff; /* 柔和的背景紫色 */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    color: #5e2a84;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section ul li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #9c27b0; /* 配合整体紫色 */
    border-radius: 50%;
}

/* Achievement and Goals Styles */
.section p {
    font-size: 1rem;
    color: #5e2a84;
}

.section canvas {
    max-width: 100%;
    margin: 20px auto;
}

.view-goals-button,
.view-chart-button {
    padding: 10px 20px;
    background-color: #6a1b9a; /* 深紫色按钮背景 */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s ease-in-out;
}

.view-goals-button:hover,
.view-chart-button:hover {
    background-color: #4a148c; /* 按钮悬停时更深的紫色 */
}

/* Carousel Styles */
.carousel {
    margin: 10px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 15px;
    background: linear-gradient(to bottom right, #f4e1ff, #e0c3fc); /* 高级紫色渐变 */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #5e2a84;
    transition: opacity 0.5s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.carousel-message {
    margin: 0;
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.carousel-button {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #6a1b9a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background-color: #4a148c;
}

.carousel-button:active {
    background-color: #38006b;
}